export default {
  namespaced: true,
  state: {
    isLogin: false,
  },
  getters: {},
  actions: {
    // 处理异步的请求，如调用接口
    isLoginAc ( { commit }, payload ) {
      commit( 'isLoginMt', payload )
    }
  },
  mutations: {
    isLoginMt ( state, payload ) {
      state.isLogin = payload;
    }
  }
}